package ai.weed.qrcode.mapper;

import ai.weed.qrcode.domain.WxUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * description
 *
 * @author zhong.wang
 * @date 2025/10/30
 **/
@Mapper
public interface WxUserMapper extends BaseMapper<WxUser> {

    @Select("SELECT * FROM wx_user WHERE openid = #{openid}")
    WxUser getByOpenid(String openid);
}
